package com.lebang.medicalInquiry.mapper;

import com.lebang.medicalInquiry.model.po.UserPatientCaseFile;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface UserPatientCaseFileMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(UserPatientCaseFile record);

    int insertSelective(UserPatientCaseFile record);

    UserPatientCaseFile selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(UserPatientCaseFile record);

    int updateByPrimaryKey(UserPatientCaseFile record);

    List<UserPatientCaseFile> getUserPatientCaseFileList(@Param("uuid") String uuid,@Param("patientId")  Integer patientId,@Param("page")  int page,@Param("limit")  Integer limit);


    void removeByPatientId(@Param("patientId") Integer physicianId);
}